package com.hopu.blb_erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author A-Zhang
 * @since 2021-11-16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_product_handover")
@ApiModel(value = "ProductHandover对象", description = "")
public class ProductHandover implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer comId;

    private Integer depotId;

    private Integer staffId;

    private Integer num;

    private LocalDate handoverDate;

    private String head;

    private String remake;

    private Integer state;

    private Integer type;
//
    private Integer order2Id;


    @TableField(exist = false)
    private Order2 order2;
    @TableField(exist = false)
    private Commodity commodity;
    @TableField(exist = false)
    private Department department;
    @TableField(exist = false)
    private Staff staff;
    @TableField(exist = false)
    private TMenu tMenu;
}
